<?php defined ('_YEXEC')  or  die();

class usersClass {
	public $moduleName = 'default';

	public function getModule ($cms) {
		$controller = yFactory::getController('default');
		$controller->cms = $cms; //!!!

		$model = yFactory::getModel($controller, 'default');
		$_ = $model->getModel($controller);

		$view = yFactory::getView($controller, 'default');
		$view->templatePage = strtolower(_cGetSafeName($controller->get->showpage, 'default')); //!!!
		return $view->getView($_);
	}
}

?>
